package ro.one.gaeql.model;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public class UpdateQuery implements Serializable {
	private static final long serialVersionUID = 1L;
	
	Kind kind;
	List<Assignment> assignments;
	Where where;
	List<Using> usings;
	Map<String, Kind> aliases;

	public UpdateQuery(Kind kind, List<Assignment> assignments, Where where, List<Using> usings, Map<String, Kind> aliases) {
		this.kind = kind;
		this.assignments = assignments;
		this.where = where;
		this.usings = usings;
		this.aliases = aliases;
	}
	
	public List<Using> getUsings() {
		return usings;
	}
	
	public Kind getKind() {
		return kind;
	}
	
	public List<Assignment> getAssignments() {
		return assignments;
	}
	
	public Where getWhere() {
		return where;
	}
	
	public Map<String, Kind> getAliases() {
		return aliases;
	}
}
